package com.work.dto.main;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 单垛理货批量保存货垛DTO
 *
 * @author ：dujianyu
 * @since ：Created in 2024/7/11 14:33
 */
@Data
public class OneStockTallyAppSubmitStorageDTO {

    /** 影响的场存垛位id */
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(name = "影响的场存垛位id",notes = "")
    private Long affectStorageId ;

    /** 场存区域id */
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(name = "场存区域id",notes = "")
    private Long storageAreaId ;

    /** 场存区域名称 */
    @ApiModelProperty(name = "场存区域名称",notes = "")
    private String storageAreaName ;

    /** 场存货位id */
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(name = "场存货位id",notes = "")
    private Long storagePositionId ;

    /** 场存货位名称 */
    @ApiModelProperty(name = "场存货位名称",notes = "")
    private String storagePositionName ;

    /** 场存具体位置 */
    @ApiModelProperty(name = "场存具体位置",notes = "")
    private String spot ;

    /** 理货包装 */
    @ApiModelProperty(name = "理货包装",notes = "")
    private String tallyPackageType ;

    /** 理货包装 */
    @ApiModelProperty(name = "理货包装",notes = "")
    private String tallyPackageTypeName ;

    /** 理货件数 */
    @ApiModelProperty(name = "理货件数",notes = "")
    private Integer tallyPiece ;

    /** 理货吨数 */
    @ApiModelProperty(name = "理货吨数",notes = "")
    private BigDecimal tallyTon ;

    /** 垛位信息ID */
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(name = "垛位信息ID",notes = "")
    private Long  goodsPositionId ;

    /** 区域code */
    @ApiModelProperty(name = "区域code",notes = "")
    private String areaCode ;

}
